package com.echo.study.spring;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

@Component
public class School {

	private Student student;
	
	
	private  String schoolName;
	//private  String address;
	private List<String> addresses;
	
	private Map<String,String> map;
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	/*public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}*/
	public List<String> getAddresses() {
		return addresses;
	}
	public void setAddresses(List<String> addresses) {
		this.addresses = addresses;
	}
	
	
	
	
	public Map<String, String> getMap() {
		return map;
	}
	public void setMap(Map<String, String> map) {
		this.map = map;
	}
	@Override
	public String toString() {
		return "School [student=" + student + ", schoolName=" + schoolName + ", addresses=" + addresses + ", map=" + map
				+ "]";
	}
	 
	 
	
}
